import request from '@/utils/request'
import apis from '@/api'

export function getDistrict (id) {
  return request({
    url: `${apis.GetDistrict}?parent_id=${id}`,
    method: 'get'
  })
}

export function editInfo (data) {
  return request({
    url: apis.EditInfo,
    method: 'post',
    data: data
  })
}
